package com.niiwoo.civet.mobile.vo.response.creditor;

import java.util.ArrayList;
import java.util.List;

import com.niiwoo.civet.mobile.vo.common.ConfigArea;
import com.niiwoo.civet.mobile.vo.common.ConfigItem;

import groovy.transform.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by zhoulinquan on 2018/7/6.
 */
@Setter
@Getter
@ToString
@ApiModel("可转让债权列表--配置")
public class TradableInvestOrderConfigResponseVO {
	@ApiModelProperty("所有的关联配置")
	private List<RelationConfig> relations = new ArrayList<>();
	
	@Setter
	@Getter
	@ToString
	@ApiModel("关联配置")
	public static class RelationConfig {
		private ConfigItem productType;
		private ConfigArea restPeriod;
		private ConfigItem repaymentType;
		private ConfigItem interestReate;
	}
	
}
